<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<% 
	String path = request.getContextPath();
	String basePath = 	request.getScheme()+"://"
					+	request.getServerName()+ ":"
					+	request.getServerPort() +"/"
					+	path+"/";
 
 %>
<html>
<head>
<link href="common/common.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<%=basePath%>ofc2/swfobject.js"></script>
</head>
<body>
<table width="100%">
	<tr>
		<td>
		<h2>折线图</h2>
		</td>
	</tr>
	<tr>
		<td>
		<div id="ofc2_bar01"></div>
		</td>
	</tr>
	<tr>
		<td>
		<div id="ofc2_bar02"></div>
		</td>
	</tr>
</table>

</body>
<script type="text/javascript">
swfobject.embedSWF(
	"<%=basePath%>ofc2/open-flash-chart-full-embedded-font.swf", 
	"ofc2_bar01", 
	"400", 
	"300", 
	"9.0.0",
	"expressInstall.swf",
	{"data-file":"toAjaxLine.action"},
//	{"data-file":"<%=basePath%>json/lineJSONTemp.json"},
	{wmode:"transparent"}
);
swfobject.embedSWF(
	"<%=basePath%>ofc2/open-flash-chart-full-embedded-font.swf", 
	"ofc2_bar02", 
	"400", 
	"300", 
	"9.0.0",
	"expressInstall.swf",
//	{"data-file":"toAjaxLine.action"},
	{"data-file":"<%=basePath%>json/temp.json"},
	{wmode:"transparent"}
);

function makeAlert(dot){
	alert(dot);
}
</script>
</html>